/**
 * 审批记录
 * @constructor
 */
function Processrecord() {
}

Processrecord.init = function () {

    bindSelect();

    $('#tableList').bootstrapTable({
        url: '/processrecord/tableSearch',
        method: 'post',
        striped: true, //是否显示行间隔色
        toolbar: "#toolbar",
        sidePagination: "true",
        dataField: "data",//这是返回的json数组的key.默认是"rows".这里只有前后端约定好就行
        showToggle: true, //是否显示详细视图和列表视图的切换按钮
        striped: true, // 是否显示行间隔色
//search : "true",
        uniqueId: "id",
        pageList: [5, 10, 20, 50, 100],//可选择单页记录数
        pageSize: "10",
        pagination: true, // 是否分页
        sortable: true, // 是否启用排序
        sidePagination: 'server', // 设置为服务器端分页     客户端：client
        search: false,
        showColumns: true,
        showRefresh: true,
        showExport: true,
//得到查询的参数
        queryParams: function (params) {
//这里的键的名字和控制器的变量名必须一直，这边改动，控制器也需要改成一样的
            var query_params = {
//********table的参数 不变
                pageSize: params.limit,                         //页面大小
                pageIndex: (params.offset / params.limit) + 1,   //页码
                sort: params.sort,      //排序列名
                sortOrder: params.order, //排位命令（desc，asc）
//********
//获取查询的对象，往下加入
                enterprise: $('#search_Enterprise').val(), // 请求时向服务端传递的参数

                userName:$("#search_userName").val(),
                processId:$("#search_processId").val(),
                status:$("#search_status").val(),
            };
            return query_params;
        },
        columns: [
            {
//field: 'Number',//可不加
                title: '序号',//标题  可不加
                align: "center",
                width: 40,
                formatter: function (value, row, index) {
                    var pageSize = $('#tableList').bootstrapTable('getOptions').pageSize;//通过表的#id 可以得到每页多少条
                    var pageNumber = $('#tableList').bootstrapTable('getOptions').pageNumber;//通过表的#id 可以得到当前第几页
                    return pageSize * (pageNumber - 1) + index + 1;//返回每条的序号： 每页条数 * （当前页 - 1 ）+ 序号
                }
            },
            {field: 'name', title: '流程名称', align: 'center'},
            {field: 'formId', title: '表单ID', align: 'center'},
            {field: 'orderId', title: '审批顺序', align: 'center'},
            {field: 'userName', title: '审批人', align: 'center'},
            {field: 'launchTime', title: '发起时间', align: 'center'},
            {field: 'reviewerTime', title: '审核时间', align: 'center'},
            {
                field: 'status', title: '审核状态', align: 'center',
                formatter:function (value) { //0未通过，1通过，2待审，3驳回
                    if (value== 0) return "<span class=\"label label-default\">未通过</span>";
                    if (value== 1) return "<span class=\"label label-primary\">通过</span>";
                    if (value== 3) return "<span class=\"label label-danger\">驳回</span>";
                }
            },
            {
                title: '操作',
                align: 'center',
                formatter: function (value, row, index) {
                    var optionHtml = "";
                    optionHtml = optionHtml + "<a class=\"btn btn-info btn-xs\"  href=\"javascript:void(0)\"  onclick='Approval(" + JSON.stringify(row) + ")' title=\"查看表单\" ><i class=\"fa fa-edit\"></i>查看表单</a>";
                    // optionHtml = optionHtml + " <a class=\"btn btn-danger btn-xs\" href=\"javascript:void(0)\"  onclick='actionRecord(" + JSON.stringify(row) + ",\"delete\")'  title=\"删除\"><i class=\"fa fa-remove\"></i>删除</a>"
                    return optionHtml;

                }
            }
        ]
    });
}


//查询方法****************************
function doSearch() {
// $('#tableList').bootstrapTable(('refresh')); // 很重要的一步，刷新url！
    $("#tableList").bootstrapTable("refreshOptions", {pageNumber: 1});
}

//重置****************************
function doRest() {
    $("#search_userName").val("");
    $("#search_processId").val("");
    $("#search_status").val("");
    // $("#search_Enterprise").val("");
// $('#tableList').bootstrapTable(('refresh')); // 很重要的一步，刷新url！
    $("#tableList").bootstrapTable("refreshOptions", {pageNumber: 1});
}

//增加方法****************************
var Action = "";
var id = 0;
var pxt = "/processrecord"; //控制器名称
function addRecord() {
    id = 0;
    Action = "add";
    $("#myform")[0].reset();

}

//增加/修改数据保存****************************
function saveRecord() {
    if (!validateForm()) return false;
//创建传递的参数
    var postdata = {
        id: id,
        action: Action,

        processId: $("#text_processId").val(),
        form: $("#text_form").val(),
        formId: $("#text_formId").val(),
        processListOrder: $("#text_processListOrder").val(),
        reviewerOrder: $("#text_reviewerOrder").val(),
        reviewerId: $("#text_reviewerId").val(),
        launchId: $("#text_launchId").val(),
        status: $("#text_status").val(),
        launchTime: $("#text_launchTime").val(),
        reviewerTime: $("#text_reviewerTime").val(),
    };
// console.log(JSON.stringify(postdata));
//发送异步请求到后台保存用户数据
    $.ajax({
        url: pxt + (Action == "add" ? "/save" : "/update"),
        type: "post",
        data: JSON.stringify(postdata),
        contentType: "application/json",
        dataType: "json",
        success: function (data) {
            if (data.code === "200") {
                $('#myModalAdd').modal('hide')
                doSearch();
                swal("操作成功!", "请继续操作", "success");
            } else {
                swal("操作失败!", "请重试", "error");
            }
        }
    });
}

//操作相关方法****************************
function actionRecord(data, type) {
    if (type == "edit") {
//修改
        id = data.id;
        Action = "edit";
        $("#myform")[0].reset();
        $("#save").removeAttr("disabled");
        WriteData(data)
        $('#myModalAdd').modal('show')
    } else {
//删除
        swal({
            title: "确认是否删除",
            text: "是否确认要删除该条记录？",
            type: "warning",
            showCancelButton: true,
            confirmButtonColor: "#DD6B55",
            confirmButtonText: "删除",
            cancelButtonText: "取消",
            closeOnConfirm: false
        }, function () {
//点击删除之后此处进行传递后台
            $.ajax({
                type: "delete",
                url: pxt + "/deleteById/" + data.id,
                dataType: "json",
                contentType: "application/json",
                success: function (data, status) {
                    if (data.code == "200") {
                        doSearch();
                        swal("删除成功!", "请继续操作", "success");
                    } else {
                        swal("删除失败!", "请重试", "error");
                    }
                }
            });

        });
    }
}

//给控件赋值****************************
function WriteData(data) {
    $("#text_processId").val(data.processId);
    $("#text_form").val(data.form);
    $("#text_formId").val(data.formId);
    $("#text_processListOrder").val(data.processListOrder);
    $("#text_reviewerOrder").val(data.reviewerOrder);
    $("#text_reviewerId").val(data.reviewerId);
    $("#text_launchId").val(data.launchId);
    $("#text_status").val(data.status);
    $("#text_launchTime").val(data.launchTime);
    $("#text_reviewerTime").val(data.reviewerTime);
}

//表单验证*****************************
function validateForm() {
//validate方法参数可选
    return $("#myform").validate({
        rules: {},
//错误信息提示
        messages: {},
    }).form();

}
//绑定下拉
function bindSelect() {
    $.ajax({
        url: "/process/getAllProcess",
        type: "post",
        contentType: "application/json",
        dataType: "json",
        success: function (data) {
            $("#search_processId").empty();
            $("#search_processId").append("<option value=\"\">-- 所有流程 --</option>");
            $.each(data,function (index,dat) {
                $("#search_processId").append("<option value=\""+dat.id+"\">"+dat.name+"</option>");
            });
        }
    });
}

function Approval(data) {
    $("#modaltitle").empty();
    $("#modaltitle").text(""+data.name+"审批");
    $.ajax({
        url: "/processrecord/getFormById",
        type: "post",
        data: {"id": data.id},
        success: function (dat) {
            if (dat.code === "200") {
                //判断表单
                if (data.form == 1) { //投诉举报
                    //给页面赋值 投诉举报信息
                    $("#showContent").empty();
                    $("#showContent").append("<label class=\"col-lg-2 control-label\">投诉举报时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input type=\"text\" value='"+dat.data.reportTime+"' readonly id=\"report_reportTime\" name=\"text_reportTime\"\n" +
                        "                                                   autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "                                    <label class=\"col-lg-2 control-label\">投诉举报事项</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.reportThings+"' type=\"text\" id=\"report_reportThings\"\n" +
                        "                                                   name=\"text_reportThings\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "                                    <label class=\"col-lg-2 control-label\">需要提供的事实照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <a href=\"javascript:;\" class=\"a-upload\">\n" +
                        "                                                <img id=\"report_photo\" src=\""+dat.data.photo+"\" class=\"img-responsive\">\n" +
                        "                                            </a>\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "                                    <label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" id=\"report_remark\" name=\"text_remark\"\n" +
                        "                                                   autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>");
                }
                if (data.form == 2) { //动物诊疗机构日常巡查记录
                    //给页面赋值 动物诊疗机构日常巡查记录
                    $("#showContent").empty();
                    $("#showContent").append("<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">巡查日期</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">被巡查对象名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">法人或负责人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.legalPerson+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">从业地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">诊疗范围</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.treatment+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否办理动物诊疗许可证</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.licence+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">取得《动物诊疗许可证》后条件是否变化</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.changeSituation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">显著位置是否公示许可证和从业人员资格证</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.qualification+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否规范使用病历</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.medicalRecord+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否规范使用处方笺</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.prescription+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">病历档案是否保存三年以上</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.archives+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否规范使用兽药和兽医器械</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.apparatus+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否按规定年度报告活动</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.activity+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">从业人员是否取得执业或助理执业兽医资格证</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.employees+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否经兽医执业注册、登记备案</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.registration+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">变更诊疗机构有无重新办理注册或者备案</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.keepRecord+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否实行注册执业兽医师出具处方</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.issuePrescription+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否使用规范格式的处方</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.standardFormat+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否按规定合理用药</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.rationalUse+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">有无使用假劣兽药和国家禁用的药品、化合物</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.fakeMedicine+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">是否按规定定期报告执业活动情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.periodicReport+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否有出证、出租、出借执业证书情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.lend+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">监督检查情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.supervision+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">巡查现场图片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.inspectionPhoto+"' autocomplete=\"off\" class=\"img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">巡查人员</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionPerson+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">巡查单位名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionCompany+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>");
                }
                if (data.form == 3) { //养殖场(户)日常巡查记录信息
                    //给页面赋值 养殖场(户)日常巡查记录信息
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">巡查日期</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">被巡查对象名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.inspectionName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">饲养畜禽种类</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animalType+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">种公畜禽存栏数</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.male+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">经产母畜禽存栏数</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.menstruation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">后备母畜禽存栏数</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.reserve+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">商品母畜禽</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.shop+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">现场畜禽存栏数是否与养殖档案记录相符</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.consistent+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否取得《动物防疫条件合格证》</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.certificate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">饲养动物是否健康</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.healthy+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">养殖档案简历情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.archives+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">强制免疫计划落实情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.implementation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>");
                }
                if (data.form == 4) { //生猪运输台账信息
                    //给页面赋值 生猪运输台账信息
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否已阅读温馨提示内容</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.readActivity+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生猪运输车辆备案号</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.recordNo+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">生猪运输车辆备案表</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.recordForm+"' type=\"text\" autocomplete=\"off\" class=\"img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">运载时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carTime+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">检疫证明号码</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.proofCode+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生猪头数</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.pigNumber+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">起运完整地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.startFullAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">养殖户名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.farmerName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">到达完整地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.endFullAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">运载路径</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.route+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">装载前清洗消毒情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.startDisinfection+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">装载后清洗消毒情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.endDisinfection+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">染疫、病死、死因不明生猪处置情况</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.disposal+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>");
                }
                if (data.form == 5) { //疫证明(产品B)出证申请信息
                    //给页面赋值 疫证明(产品B)出证申请信息
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申报单位全称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.company+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">货主</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.owner+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">产品名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.productName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">数量及单位</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">产地</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.place+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生产单位名称地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">目的地</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.destination+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">相关照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.photo+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">销售时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleTime+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n");
                }
                if (data.form == 6) { //检疫证明(产品A)出证申请信息
                    //给页面赋值 检疫证明(产品A)出证申请信息
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申报单位全称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.company+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">货主</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.owner+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">产品名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.productName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">数量及单位(公斤)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生产单位名称地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">到达省、市、县名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.addressName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">承运人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carry+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">承运人电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carryPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">运载方式</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transportation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">运载工具号码</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transportationNo+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">运载工具消毒药品</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.drug+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">相关照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.photo+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">销售时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleTime+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>");
                }
                if (data.form == 7) { //动物来源情况报备单
                    //给页面赋值 动物来源情况报备单
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">报备人(或单位)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.reporter+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">调入日期</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transferDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">调入地址(产地)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transferAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">生产单位</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.productionUnit+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">调入动物种类</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animalType+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">调入数量(头、羽)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物检疫合格证号</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.certificate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">当前地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.location+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">上传动物实时状态照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.animalPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">其他图片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.otherPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n");
                }
                if (data.form == 8) { //肉品经营台账信息
                    //给页面赋值 肉品经营台账信息
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">肉品经营者姓名</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.operator+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">日期</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.businessDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">销售地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleLocation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">经营头数</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">经营生猪肉品来源地(养殖地点)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.breedLocation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">饲养户名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.breedName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">上传《动物检疫合格证明》</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.photo+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">产地检疫证明号码</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.certificateNumber+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">生猪耳标号码</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.pigNo+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "\n");
                }
                if (data.form == 9) { //出具《福建省动物、动物产品准调证》申请单
                    //给页面赋值 出具《福建省动物、动物产品准调证》申请单
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">是否已阅读温馨提示内容</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.readActivity+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">申请日期</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.applicationDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申请单位(或个人）名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.applicationName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">企业代码(个人身份证号码)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.enterpriseNo+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">营业执照或身份证照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.licensePhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">发货地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">发货单位</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.company+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">销售去向</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleDestination+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">接货单位</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.receivingUnit+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">动物、动物产品类别</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animalType+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">调运数量(头、公斤、羽)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">运输方式</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transport+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">承运人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carry+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">承运人电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carryPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">车号</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carNo+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">拟调入时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transferTime+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">用途</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.purpose+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">运输路经省市县名</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.route+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">拟调入动物或产品的非洲猪瘟检测报告</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.reportPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "\n" +
                        "</div>\n");
                }
                if (data.form == 10) { //零星散户产地检疫申报单
                    //给页面赋值 零星散户产地检疫申报单
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申报人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.declarant+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">身份证号</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.idCard+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申报人联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.dphone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">养殖户所在乡镇</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.address+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">具体地址</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.specificAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">销售去向</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">具体地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.toSpecificAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">购买人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyer+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">购买人联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物种类</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animal+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">数量</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">耳标号从(猪)1350481、(禽)SM</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.markStart+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">至(猪)1350481、(禽)SM</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.markEnd+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">用途</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.purpose+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">当前地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.nowPlace+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物产地检疫申报基本信息报告表照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.photo+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n");
                }
                if (data.form == 11) { //跨省销售用产地检疫申报单(动物A)
                    //给页面赋值 跨省销售用产地检疫申报单(动物A)
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">养殖档案是否建立</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.build+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">畜主</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.owners+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">购买人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyer+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">购买人电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyerPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物种类</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animalType+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">数量</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">耳标号从1350481</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.starEar+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">至1350381</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.endEar+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">启运地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.starAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">村</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.village+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">当前地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.nowAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">到达省、市(州)名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.arriveCityName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">到达县乡村名称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.arriveTownName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">用途</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.purpose+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">承运人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carry+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">承运人电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.carryPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">运载方式</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.transportation+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">运载工具消毒药品</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.drug+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物状态照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.animalPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">运载车辆图片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.carPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生猪运输车辆备案表</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.pigCarPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">销售时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">农产品合格证/追溯码</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.certificatePhoto+"' type=\"text\" autocomplete=\"off\" class=\"class\timg-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "\n");
                }
                if (data.form == 12) { //跨省销售用产地检疫申报单(动物B)
                    //给页面赋值 跨省销售用产地检疫申报单(动物B)
                    $("#showContent").empty();
                    $("#showContent").append("\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">申报人(个人填写名字,单位填写单位全称)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.declarant+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">联系电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.phone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">购买人</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyer+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">购买人电话</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.buyerPhone+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">动物种类</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.animalType+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">数量(头、羽)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.number+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">耳标号从(猪)1350481、(禽）SM</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.starEar+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">至(猪)1350481(禽)SM</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.endEar+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\t\n" +
                        "<label class=\"col-lg-2 control-label\">用途</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.purpose+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">启运地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.starAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">村名</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.villageName+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">当前地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.nowAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">到达地点</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.arriveAddress+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">县乡村</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.town+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">屠宰或饲养场全称</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.slaughter+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">动物状态图片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.animalPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">动物运载车辆图片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.carPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">生猪运输车辆备案表</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.pigCarPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">销售时间</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleDate+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">拟出售动物抽样检测动物耳标号1350481</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.saleAnimalEar+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">检测报告单照片(猪售辖区外禽类跨省出售)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.reportPhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">准调证照片(出售到永安辖区外,本省内时)</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.certificatePhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "<div class=\"row\">\t\n" +
                        "<label class=\"col-lg-2 control-label\">农产品合格证/追溯码照片</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <img src='"+dat.data.agriculturePhoto+"' type=\"text\" autocomplete=\"off\" class=\"class img-responsive\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "<label class=\"col-lg-2 control-label\">备注</label>\n" +
                        "                                    <div class=\"col-lg-4\">\n" +
                        "                                        <div class=\"form-group\">\n" +
                        "                                            <input readonly value='"+dat.data.remark+"' type=\"text\" autocomplete=\"off\" class=\"form-control\">\n" +
                        "                                        </div>\n" +
                        "                                    </div>\n" +
                        "</div>\n" +
                        "\n" +
                        "\n");
                }
                $('#myModalView').modal('show');
            }
        }
    });
}
